package com.achievement.mapper;

import com.achievement.domain.entity.ArtProductEntity;
import com.achievement.domain.param.ArtProductParam;
import com.achievement.domain.vo.ArtProductVO;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

/**
 * 科研成果-艺术作品Mapper接口
 * 
 * @author ruoyi
 * @date 2025-02-27
 */
public interface ArtProducMapper extends BaseMapper<ArtProductEntity>
{

    List<ArtProductVO> selectArtProductList(@Param(value = "param") ArtProductParam param, @Param(Constants.WRAPPER) Wrapper<ArtProductEntity> queryWrapper);

    List<ArtProductVO> getListByExport(@Param(value = "param") ArtProductParam param, @Param(Constants.WRAPPER) Wrapper<ArtProductEntity> queryWrapper);

    List<HashMap<String, Integer>> listStatistics(@Param(value = "param")ArtProductParam param,@Param(Constants.WRAPPER) QueryWrapper<ArtProductEntity> queryWrapper);
}
